package com.teamall.web.family.db.dao.mapper;

import com.teamall.web.family.db.arg.FamilyHelpArg;
import com.teamall.web.family.db.po.FamilyHelpPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IFamilyHelpMapper {
    
    List<Integer> countByArg(FamilyHelpArg arg);

    List<FamilyHelpPO> selectByArg(FamilyHelpArg arg);

    FamilyHelpPO selectByPrimaryKey(Integer id);

    List<FamilyHelpPO> selectByArgAndPage(FamilyHelpArg arg, RowBounds rowBound);

    int insert(FamilyHelpPO record);

    int insertSelective(FamilyHelpPO record);

    int insertBatch(@Param("list") List<FamilyHelpPO> records);

    int updateByArgSelective(@Param("record") FamilyHelpPO record,
            @Param("arg") FamilyHelpArg arg);

    int updateByArg(@Param("record") FamilyHelpPO record,
            @Param("arg") FamilyHelpArg arg);

    int updateByPrimaryKeySelective(FamilyHelpPO record);

    int updateByPrimaryKey(FamilyHelpPO record);
    
    int deleteByArg(FamilyHelpArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}